package com.massteam.util.mail;

public class EmailProtocol {

	private String str;
	
	public EmailProtocol(String str){
		this.str = str;
	}
	
	public String getPopProtocol(){
		String [] s = str.split("@");
		return "pop3." + s[1];
	}
	
	public String getSmtpProtocol(){
		String [] s = str.split("@");
		return "smtp." + s[1];
	}
}
